home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue27 / lcd12 / LCD12.ZIP / Readme.txt < prev   
Encoding:
Text File  |  1997-08-29  |  8.6 KB  |  246 lines

  1.  
  2.           TLCDLabel v1.2 - The Electronic looking label for Delphi!
  3.     --------------------------------------------------------------
  4.  
  5.                     Copyright 1997, Amitron Electronics
  6.                                Peter Czidlina
  7.  
  8.  
  9. LCDLabel update for Delphi 2 and 3 (yes, You are reading correct)!
  10.  
  11. This is more or less a final version of the 1.X series. Next time I will
  12. something on this lablel, I will make it 2.0.
  13. The label You will find here is a result of my interest in electronics
  14. and especially the ways to display information on electronic devices.
  15. I think also this label is the first of it's kind - after surfing around
  16. on the Web, I could not find any that works in this way.
  17. So, I decided to make one.
  18.  
  19. What is now so remarkable with this label?
  20. It does not support anyting You normally find in all custom labels - 
  21. 3D effects, rotation or shaded colors. It doesn't even supports the system
  22. fonts...
  23. What does it do?
  24. It simulates the well known Alphanumeric dot-matrix LCD displays, commonly
  25. used on lot's of electronic equipments.
  26.  
  27.  
  28. What is new comparing to version 1.1?
  29. -------------------------------------
  30.  
  31. Delphi 3 - The label are now 32bit only - Delphi 2 and 3 are supported.
  32.            Delphi 1 users should use version 1.1 instead (included in this
  33.        package).
  34.  
  35. Appearance - Beveled border and shaped LCD-pixels. 
  36.  
  37. New Font - Hitachi2, one visually improved version of the Hitachi font.
  38.  
  39. A Web page and new e-mail - I have now a support page for my components.
  40.            There You can download the latest of my components and apps made
  41.        with Delphi.
  42.        This has also changed my e-mail address.
  43.  
  44.  
  45. NOTE! Because of the optimized redraw of the label, sometimes the update of
  46. the caption during design are failing. This is not critical and does NOT
  47. affect the display during run-time execution. If it is important I can find
  48. out a way to fix this but then I need to know if there are any interests
  49. (and how it is possible to recognize running in design or run-time with code).
  50.  
  51.  
  52. The rest of the label is the same - Your old code need only to be re-compiled
  53. with the newly installed v1.2 - and You are on the way... 
  54.  
  55. How to install it?
  56. ------------------
  57.  
  58. First of all find or create a directory for this component and copy following
  59. files to that place:
  60.  
  61.         LCD_LAB.DCU        (LCD Engine)
  62.         LCD_LAB.DCR        (Palette icon)
  63.         MATRIX.DCU        (Character definitions)
  64.  
  65.  
  66. In Delphi 2.0, the installation is done via menu "Component->Install".
  67. Use the "Add" button to invoke the new component. Browse to the place
  68. were You put the label parts and select LCD_LAB.DCU. Press OK at two
  69. places to confirm the installation.
  70.  
  71. With Delphi 3, use menu "Component->Install Component". As Unit file name,
  72. select LCD_LAB.DCU and leave rest as default. Press OK to finish the
  73. installation.
  74.  
  75. The new component will appear in the Samples palette as LCDLabel with a new
  76. icon.
  77.  
  78. If You have been using version 1.0 or 1.1 of this component (only valid for
  79. Delphi 2.X users), it is best to remove the old component before installing
  80. the new one.
  81.  
  82.  
  83. How to use it.
  84. --------------
  85.  
  86. The use of this label is simple - it works in the way all Delphi components
  87. works. Every change done are shown at design time.
  88. A lot of new properties are avaiable to control the appearance of the label.
  89.  
  90. Following properties are avaiable (* marks the new ones):
  91.  
  92.     * BackGround    - Label background color.
  93.     * BorderColor    - Border color.
  94.     * BorderSpace    - Distance in pixels from border to characters.
  95.     * BorderStyle    - Border style - None, Lowered, Raised or Single.
  96.  
  97.                       Note: This style are not compatible with the standard
  98.               label styles AND LCDLabel 1.0/1.1 styles!
  99.  
  100.       Caption       - The text shown in the display label. If more than one
  101.               line is used, the entire label works as a single but
  102.               broken line.
  103.     * CharSpacing    - Space between characters in the label.
  104.       Cursor
  105.     * DotMatrix    - Type of "font" used in the display label.
  106.               This label uses a built in character translation
  107.               table instead of the system fonts. The reason for it
  108.               is that I wanted the display look like the real ones.
  109.               That also means that special characters does not work
  110.               with this label (like special national characters).
  111.  
  112.               Following character matrixes are avaiable:
  113.  
  114.                 + mat5x7 - 5 x 7 dots characters - this is the
  115.                   "standard" font, both in this label and on the
  116.                   real displays. This one supports ASCII 32-126.
  117.  
  118.                 + mat5x8 - Same as above but by using a 5 x 8 dot
  119.                   matrix, it makes some characters looking better.
  120.  
  121.                 + mat7x9 - Larger matrix, 7 x 9, allows nicer
  122.                   character display. ASCII 32-126.
  123.  
  124.                 + mat9x12- Even more improved character look, but it
  125.                   takes more space on screen. ASCII 32-126.
  126.  
  127.                 + Hitachi- An exact copy of the font setup used by
  128.                   all 5 x 7 dot matrix LCD's based on the Hitachi
  129.                   HD61830 controller (all 5 x 10 characters are
  130.                   converted to 5 x 7). It includes all strange
  131.                   japanese characters! It allows ASCII 32-223. 
  132.  
  133.                 + Hitachi2- Same as Hitachi but with extended character
  134.                   height. This makes the special characters looking
  135.                   better.
  136.  
  137.                 + More "fonts" can be easily added on request.
  138.       Enabled
  139.       Height    - Label height
  140.       Left
  141.     * LineSpacing    - Distance between character lines in multi-line
  142.               labels.
  143.       Name        - Name of the label.
  144.     * NoOfChars    - Number of characters on a single line.
  145.               If multiple lines are used, all lines will have the
  146.               same amount of characters.
  147.     * PixelOff    - Color of pixels in off state. These normally appears
  148.               invisible or in a dimmed color.
  149.     * PixelOn    - Pixel on color. This is the character color as the
  150.               text will appear in.
  151.         * PixelShape    - LCD Pixel shape. Controls the drawing of the LCD pixels.
  152.                       Three different shapes are avaiable. To see any effect,
  153.               set PixelSize > 3x3. Suitable colors are also needed to
  154.               see the effect. Following options are avaiable:
  155.  
  156.                            + Square - Simple square pixels (default).
  157.  
  158.                            + Shaped - Square pixels with "shaded" corners.
  159.  
  160.                            + Round  - circular pixels.
  161.  
  162.                           Note: Shaped and Round pixels are slower than the Square
  163.               due to circle drawing!
  164.  
  165.     * PixelSize    - Size of each character pixel.
  166.     * PixelSpacing    - Space between each character pixel.
  167.       Tag
  168.     * TextLines    - Number of text lines in the label.
  169.       Top
  170.       Visible
  171.       Width        - Label width
  172.  
  173. About resizing - This label allows free resizing, but to avoid truncated
  174. characters, the selected size are rounded up to nearest full character.
  175. The same will appear when entering values for Width and Height.
  176. By using the size and distance properties of the label will calculate the
  177. correct Width and Height.
  178.  
  179. The properties that are missing explanations works as described in the Delphi
  180. help file.
  181.  
  182.  
  183. History
  184. -------
  185.  
  186.  v1.2   - Updated 32bit version. Delphi 1 are not supported anymore but
  187.           Delphi 3 are.
  188.       New display options: beveled borders and different pixel shapes.
  189.  
  190.  v1.1   - The first 32bit version!
  191.           Appearance updated to prevent flicker during caption change.
  192.  
  193.  v1.0    - The first and only version of this label yet.
  194.  
  195.  To make this list long, I need someone to use it and tell me about
  196.  improvements and features missing (or bugs to be corrected).
  197.  
  198.  
  199. What to improve?
  200. ----------------
  201.  
  202.     - Help file!
  203.       If someone knows how to do this, I will make one.
  204.  
  205.     - Make it 32bit <- Done! And for Delphi 3 too!
  206.  
  207.     - More border options (Bevels, shaded, any other ideas?).
  208.       <- Beveled borders added - border width still to come...
  209.  
  210.     - Round character pixels - make them look like LED matrixes.
  211.       <- Shaped pixels are a way to this but it is slow (shame on Windows...).
  212.  
  213.     - Make a multiple line label work like real multiple line text field.
  214.  
  215.     - Whatever You will find out...
  216.  
  217.  
  218. Freeware!
  219. ---------
  220.  
  221. This component is Freeware!
  222. It can be used freely in any application for private use, just put a credit for
  223. me in Your About box...
  224. If You like it, send me a e-mail or a post card. Or if You want some
  225. improvements or have some good ideas, just do the same writing down Your ideas.
  226. If You don't like it or maybe find some bugs, contact me too and tell me what
  227. You have found.
  228. If the component is going to be used in a commersial application, contact me
  229. and we'll make up the deal.
  230.  
  231.  
  232.  
  233. How to contact me?
  234. ------------------
  235.  
  236. snail-mail:
  237.  
  238.     Peter Czidlina
  239.  
  240.     Kanalvaegen 6
  241.     136 73  Haninge
  242.     Sweden
  243.  
  244. e-mail:    petercz@swipnet.se
  245. WWW   : http://hem2.passagen.se/ebcpecz/
  246.